//
// Created by jsjxsy on 2022/9/9.
//机房预约系统
//
#include <ReservationManage.h>
#include <Student.h>
#include <iostream>
using namespace std;
int main() {
  ReservationManage rm;
  Student student(1, "zhangsan", "123456");
  int selected;
  while (true) {
    rm.show_menu();
    cin >> selected;
    switch (selected) {
      case 1:
        //学生
        student.operator_menu();
        break;
      case 2:
        //老师
        break;
      case 3:
        //管理员
        break;
      case 0:
        //退出
        rm.system_exit();
        break;
      default:cout << "输入错误，请重新选择" << endl;
        break;
    }
  }
  return 0;
}
